package com.dingreading.cloud.ssxcx.service;

import com.dingreading.cloud.common.base.R;
import com.dingreading.cloud.common.util.PageUtil;
import com.dingreading.cloud.ssxcx.dto.XcxStudentHomeworkDto;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import com.dingreading.cloud.ssxcx.entity.XcxStudentHomework;

import java.util.List;

/**
 * 小程序学生课后作业表 服务层。
 *
 * @author EDY
 * @since 2025-08-15
 */
public interface XcxStudentHomeworkService extends IService<XcxStudentHomework> {

    R<Object> uploadHomework(String agencyUid, String storeUid, String studentUid, String subjectLessonUid, String questionUid, String uid, List<String> imageUrls);

    R<Object> getBean(String agencyUid, String storeUid, String studentUid, String subjectLessonUid, String questionUid, String ip);

    Page<XcxStudentHomeworkDto> pageListHomework(PageUtil pageUtil, String agencyUid, String storeUid, String studentUid, String projectUid);

    R<Object> getOssHomework(String fileType);

    R<Object> getHomeworkUrl(String url, String ip);

    R<Object> getBeanStatus(String agencyUid, String storeUid, String studentUid, String subjectLessonUid, String questionUid);

}
